/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn;

import cn.webrx.config.AppConfig;
import cn.webrx.services.UserDao;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;


/**
 * <p>Project: spring2022 - Demo
 * <p>Powered by webrx On 2022-03-17 10:06:34
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */

//@ExtendWith(SpringExtension.class)
@SpringJUnitConfig(classes = {AppConfig.class})
@DisplayName("测试AppConfig")
public class Demo {
    @Autowired(required = false)
    UserDao userDao;

    @Test
    public void t1() {
        userDao.save();
    }
}
